package com.hxtec.polaris.mapper;

import com.hxtec.polaris.entity.ShopExpressCompany;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author yonyong
 * @Description //所有快递厂家
 * @Date 2019/12/30 16:01
 * @Param
 * @return
 **/
public interface ShopExpressCompanyMapper {
    int delete(Integer id);

    int insert(ShopExpressCompany shopExpressCompany);

    int insertDynamic(ShopExpressCompany shopExpressCompany);

    int updateDynamic(ShopExpressCompany shopExpressCompany);

    int update(ShopExpressCompany shopExpressCompany);

    ShopExpressCompany selectById(Integer id);

    /**
     * 模糊查找快递厂家
     * @param name
     * @return
     */
    List<ShopExpressCompany> getList(@Param("name") String name);
}